#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
struct student
{
	char name[20];
	int age;
	char id[15];
	float score;
};
int main()
{
	struct student s1 = { "xiaodong",20,"1110621014050",99.5f };
	struct student* ps = &s1;
	printf("%s,%d,%s,%.1f", (*ps).name, (*ps).age, (*ps).id, (*ps).score);
	printf("%s,%d,%s,%.1f", ps->name, ps->age, ps->id, ps->score);
	
	return 0;
}
